// equarter.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "math.h"

int main(int argc, char* argv[])
{double a,b,c,m,x1,x2;
scanf("%lf %lf %lf",&a,&b,&c);
m=b*b-4*a*c;
x1=(-b+sqrt(m))/(2*a);
x2=(-b-sqrt(m))/(2*a);
if(x1>=x2)
printf("%.2lf %.2lf",x1,x2);
else
	printf("%.2lf %lf",x2,21);
	return 0;
}

